Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Subgraph urls with new ones sourced from docs #113

Merged
merged 5 commits into from
Jul 8, 2024

Conversation

pheuberger
Copy link
Contributor

@pheuberger pheuberger commented Jul 5, 2024

Taken from:
https://docs.toucan.earth/developers/sdk/subgraph.

This PR (original under #112) was kindly opened by @dankelleher. I just removed the API keys as we've decided to not expose them and get everybody to use their own.

@pheuberger pheuberger mentioned this pull request Jul 5, 2024
@pheuberger pheuberger marked this pull request as draft July 5, 2024 11:25
@pheuberger
Copy link
Contributor Author

Marking this as draft for the time being as there are a few things still to be ironed out.

We want everybody to use their own API keys for Subgraph queries.

However, we need an API key to run our Subgraph regression tests against
live endpoints on pull requests. That's why a tightly scoped key is
added to our CI workflow config.

IMPORTANT:
That means if you extend the regression tests to also query other
networks than Alfajores, you need to make sure the API key has
permissions for those networks.
Sushiswap and Ubeswap migrated to the decentralized network and also
their API changed. This needs to be a slightly bigger rework that will
be tracked in LILA-7487.

This is a problem because the CI is breaking because of it.
Without this patch the matic playground URL was still pointing to the
discontinued Hosted Service.

I used the opportunity to also add links to all other playgrounds.
@pheuberger pheuberger force-pushed the update-subgraph-urls branch from 4d17614 to 3963b5e Compare July 8, 2024 11:17
@pheuberger pheuberger marked this pull request as ready for review July 8, 2024 11:17
0xmichalis
0xmichalis previously approved these changes Jul 8, 2024
@0xmichalis
Copy link
Member

@pheuberger maybe you want to do a version bump of the package at the same time?

@pheuberger
Copy link
Contributor Author

@pheuberger maybe you want to do a version bump of the package at the same time?

Good call!

@pheuberger pheuberger merged commit 5ef28e5 into ToucanProtocol:main Jul 8, 2024
1 check passed
@pheuberger pheuberger deleted the update-subgraph-urls branch July 8, 2024 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants